package com.tjec.project.businessStandardLibrary.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.tjec.framework.aspectj.lang.annotation.Excel;

import java.util.Date;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.data.annotation.Transient;

import com.tjec.framework.web.domain.BaseEntity;

import io.swagger.annotations.ApiModelProperty;

/**
 * 业务指南对象 bms_knowledge_business_guide
 * 
 * @author pamgyongfeng
 * @date 2020-04-20
 */
public class BmsKnowledgeBusinessGuide extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    @JsonIgnore
    private Long id;
    
    /** guid主键 */
    @ApiModelProperty(value = "业务手册id")
    private String guid;

    /** 标题 */
    @ApiModelProperty(value = "标题")
    @Excel(name = "标题")
    private String title;

    /** 业务类别 */
    @ApiModelProperty(value = "业务类别id")
    @Excel(name = "业务类别id")
    private String businessCategoryId;
    
    /** 文件名称 **/
    @ApiModelProperty(value = "文件名称")
    private String fileName;

    /** 业务类别名称 **/
    @ApiModelProperty(value = "业务类别名称")
    private String businessName;
    
    /** 文件类型 **/
    @ApiModelProperty(value = "文件类型")
    private String contentType;
    
    /** 文件路径 **/
    @ApiModelProperty(value = "文件路径")
    private String storagePath;


    /** 文件长度 **/
    @ApiModelProperty(value = "文件长度")
    private long contentLength;

    /** 文件guId **/
    @ApiModelProperty(value = "文件guId")
    private String contentGuid;

    /** 文件大小 **/
    @ApiModelProperty(value = "文件大小")
    private String contentSize;

   /** guid集合 **/
    @ApiModelProperty(value = "guid集合")
    private List<String> guids;

    /** 文件更新时间 **/
    @ApiModelProperty(value = "文件更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date fileUpdateTime;

    public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public String getStoragePath() {
		return storagePath;
	}

	public void setStoragePath(String storagePath) {
		this.storagePath = storagePath;
	}

	public long getContentLength() {
		return contentLength;
	}
    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }
	public void setContentLength(long contentLength) {
		this.contentLength = contentLength;
	}

	public Date getFileUpdateTime() {
		return fileUpdateTime;
	}

	public void setFileUpdateTime(Date fileUpdateTime) {
		this.fileUpdateTime = fileUpdateTime;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setBusinessCategoryId(String businessCategoryId) 
    {
        this.businessCategoryId = businessCategoryId;
    }

    public String getBusinessCategoryId() 
    {
        return businessCategoryId;
    }

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public String getContentSize() {
		return contentSize;
	}

	public void setContentSize(String contentSize) {
		this.contentSize = contentSize;
	}

    public List<String> getGuIds() {
        return guids;
    }

    public void setGuIds(List<String> guids) {
        this.guids = guids;
    }

    public String getContentGuid() {
        return contentGuid;
    }

    public void setContentGuid(String contentGuid) {
        this.contentGuid = contentGuid;
    }

    public List<String> getGuids() {
        return guids;
    }

    public void setGuids(List<String> guids) {
        this.guids = guids;
    }

    @Override
    public String toString() {
        return "BmsKnowledgeBusinessGuide{" +
                "id=" + id +
                ", guid='" + guid + '\'' +
                ", title='" + title + '\'' +
                ", businessCategoryId='" + businessCategoryId + '\'' +
                ", fileName='" + fileName + '\'' +
                ", businessName='" + businessName + '\'' +
                ", contentType='" + contentType + '\'' +
                ", storagePath='" + storagePath + '\'' +
                ", contentLength=" + contentLength +
                ", contentGuid=" + contentGuid +
                ", contentSize='" + contentSize + '\'' +
                ", guids=" + guids +
                ", fileUpdateTime=" + fileUpdateTime +
                '}';
    }
}
